package com.isdepci.project.result.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.isdepci.project.result.mapper.BiogenicEmissionsMapper;
import com.isdepci.project.result.domain.BiogenicEmissions;
import com.isdepci.project.result.service.IBiogenicEmissionsService;

/**
 * 范围1的生物源排放Service业务层处理
 *
 * @author isdepci
 * @date 2023-09-05
 */
@Service
public class BiogenicEmissionsServiceImpl implements IBiogenicEmissionsService
{
    @Autowired
    private BiogenicEmissionsMapper biogenicEmissionsMapper;

    /**
     * 查询范围1的生物源排放
     */
    @Override
    public BiogenicEmissions selectBiogenicEmissionsById(Long id)
    {
        return biogenicEmissionsMapper.selectBiogenicEmissionsById(id);
    }

    /**
     * 查询范围1的生物源排放列表
     */
    @Override
    public List<BiogenicEmissions> selectBiogenicEmissionsList(BiogenicEmissions biogenicEmissions)
    {
        return biogenicEmissionsMapper.selectBiogenicEmissionsList(biogenicEmissions);
    }

    /**
     * 新增范围1的生物源排放
     */
    @Override
    public int insertBiogenicEmissions(BiogenicEmissions biogenicEmissions)
    {
        return biogenicEmissionsMapper.insertBiogenicEmissions(biogenicEmissions);
    }

    /**
     * 修改范围1的生物源排放
     */
    @Override
    public int updateBiogenicEmissions(BiogenicEmissions biogenicEmissions)
    {
        return biogenicEmissionsMapper.updateBiogenicEmissions(biogenicEmissions);
    }

    /**
     * 批量删除范围1的生物源排放
     */
    @Override
    public int deleteBiogenicEmissionsByIds(Long[] ids)
    {
        return biogenicEmissionsMapper.deleteBiogenicEmissionsByIds(ids);
    }

    /**
     * 删除范围1的生物源排放信息
     */
    @Override
    public int deleteBiogenicEmissionsById(Long id)
    {
        return biogenicEmissionsMapper.deleteBiogenicEmissionsById(id);
    }
}
